import React, { Suspense } from 'react';
import './App.css';
import { useRoutes } from "react-router-dom"
import RouterConfig from './router/RouterConfig';
function App() {
  return (
    <div className="App">
      <Suspense fallback={<div>loading........</div>}>
        {
          useRoutes(RouterConfig)
        }
      </Suspense>
    </div>
  );
}

export default App;
